﻿using MediatR;
using SmartProduction.ErrorCode;

namespace SmartProduction.Write.API.Application.Commands.DepartCommand
{
    /// <summary>
    /// 部门
    /// </summary>
    public class DepartCreateCommand:IRequest<APIResult<object>>
    {


        /// <summary>
        /// 部门名称
        /// </summary>
        public string DepartName { get; set; }
        /// <summary>
        /// 父级ID
        /// </summary>
        public int ParentId { get; set; }
    }
}
